package com.amoyt.project.exception;

import com.amoyt.project.exception.enums.BusinessExceptionEnum;

/**
 * @Date: 2025/8/20
 * @Time: 13:15
 * @Author: TQ_QT
 * @Description:
 */
public class ExceptionUtil {

    /**
     * 构建自定义参数异常
     * @param msg
     * @return
     */
    public static BusinessException buildParamException(String msg){
        return new BusinessException(BusinessExceptionEnum.PARAM_ERROR,msg);
    }
}
